WPForms\Integrations\Stripe\Api\PaymentIntents B

Total Complexity 97
Dependencies 13
Dependents 3
Total lines 931
Lines of code 422
Logical lines of code 216
Comment lines 318
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
charge_subscription()
A
40 11 59
charge_single()
A
45 9 40
get_charge_details()
A
53 9 24
bypass_captcha_on_3dsecure_submit()
A
54 8 20
select_subscription_default_payment_method()
S
56 6 20
detach_remote_subscriptions_duplicated_payment_methods()
S
51 5 28
set_payment_tokens()
S
62 6 11
refund_payment()
S
54 4 24
request_3dsecure_ajax()
S
60 4 14
cancel_subscription()
S
52 3 28
get_charge()
S
60 3 15
set_config()
S
60 2 15
process_subscription()
S
70 3 7
process_single()
S
70 3 7
attach_customer_to_payment()
S
61 2 13
finalize_single()
S
65 2 8
set_bypass_captcha_3dsecure_token()
S
66 2 8
finalize_subscription()
S
64 2 9
filter_config_element_locale()
S
73 2 4
load_card_field()
S
71 2 7
set_card_element_config()
S
58 1 14
update_remote_customer_default_payment_method()
S
65 1 11
set_payment_element_config()
S
66 1 7
request_confirm_payment_ajax()
S
69 1 8
get_payment()
S
79 1 3
hooks()
S
78 1 3
retrieve_payment_intent()
S
72 1 5
setup_stripe()
S
77 1 4
init()
S
72 1 6